package com.wali.modules.bil.dao;

import com.wali.modules.bil.vo.BilLogisticsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author walixu
 * @ClassName com.wali.modules.common.dao
 * @Description 物流信息dao接口
 * @email wali.xu@kpmg.com
 * @date 20/01/2019 2:14 下午
 */
@Mapper
public interface IBilLogisticsDao {

    /**
     * @param bilLogistics
     * @return
     * @throws
     * @Title saveBilLogistics
     * @Description 新增物流信息
     */
    int saveBilLogistics(@Param("bilLogistics") BilLogisticsVO bilLogistics);

    /**
     * @param bilLogisticsList
     * @return
     * @throws
     * @Title batchSaveBilLogistics
     * @Description 批量新增物流信息
     */
    int batchSaveBilLogistics(@Param("bilLogisticsList") List<BilLogisticsVO> bilLogisticsList);

    /**
     * @param bilLogistics
     * @return
     * @throws
     * @Title getBilLogistics
     * @Description 查询符合条件的单条物流信息
     */
    int getBilLogistics(@Param("bilLogistics") BilLogisticsVO bilLogistics);

    /**
     * @param bilLogistics
     * @return
     * @throws
     * @Title updateBilLogistics
     * @Description 更新物流信息
     */
    int updateBilLogistics(@Param("bilLogistics") BilLogisticsVO bilLogistics);

    /**
     * @param bilLogistics
     * @return
     * @throws
     * @Title deleteBilLogistics
     * @Description 删除物流信息
     */
    int deleteBilLogistics(@Param("bilLogistics") BilLogisticsVO bilLogistics);

    /**
     * @param bilLogistics
     * @return 收件人列表
     * @throws
     * @Title listBilLogistics
     * @Description 查询所有符合条件的物流信息
     */
    List<BilLogisticsVO> listBilLogistics(@Param("bilLogistics") BilLogisticsVO bilLogistics);

    /**
     * @param bilLogistics
     * @return
     * @throws
     * @Title countBilLogistics
     * @Description 统计符合条件的物流信息数量
     */
    int countBilLogistics(@Param("bilLogistics") BilLogisticsVO bilLogistics);
}
